package com.oho.viewmodeltest.life;

import java.util.ArrayList;
import java.util.List;

public class NoteModel {
    public String content;
    public String modifyTime;

    private NoteModel(String content, String modifyTime){
        this.content = content;
        this.modifyTime = modifyTime;
    }

    public static List<NoteModel> fetchNotes(){
        List<NoteModel> noteModels = new ArrayList<>();
        noteModels.add(new NoteModel("这是一个普通内容","2021-03-31"));
        return noteModels;
    }

    public static List<NoteModel> fetchGlobalNotes(){
        List<NoteModel> noteModels = new ArrayList<>();
        noteModels.add(new NoteModel("this is 全局Life","2021-08-31"));
        return noteModels;
    }
}
